package com.acme.bankapp.domain.email;

public interface Queue <T>{

	public T getEmail() throws InterruptedException;

	public void addEmail(T email) throws InterruptedException;

	public void close();
}
